package cn.sc.summer.log.builder;

import cn.sc.summer.constant.log.SysLog;

/**
 * 类名：具体构建者的构建过程配置
 *
 * @author a-xin
 * @date 2023/9/5 14:54
 */
public class LogBuilderDirector {

    private final LogBuilder builder;

    public LogBuilderDirector(LogBuilder builder) {
        this.builder = builder;
    }

    public SysLog build() {
        builder.buildLogInfo();
        return builder.build();
    }

}


